html{
    background-color: #f2f2f2;
    color: #666;
}

::-webkit-input-placeholder {
    color: #ccc
}

.layui-layout-admin .layui-logo {
    left: 20px;
    text-align: left;
}

.layui-layout-admin .layui-logo .layui-icon {
    font-size: 25px;
}

.layui-layout-admin .layui-body {
    bottom: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.layui-layout-admin.editor-maxsize .layui-header,
.layui-layout-admin.editor-maxsize .layui-side {
    display: none;
}

.layui-layout-admin.editor-maxsize .layui-body {
    top: 0;
    left: 0;
    width: 1137px;
    margin: 0 auto;
}

.iframe-box {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.layui-fluid {
    padding: 15px;
}

.admin-tips {
    margin-top:30px;
    text-align: center;
}

.admin-tips .icon-face {
    display: inline-block;
    font-size: 160px;
    color: #393D49;
}

.admin-tips .layui-text {
    width: auto;
    max-width: 500px;
    margin: 30px auto;
    padding-top: 20px;
    border-top: 3px solid #009688;
    font-size: 18px;
}

.layui-side {
    background-color: #23262E !important;
}

.layui-side .layui-nav .layui-nav-item a {
    padding-left: 45px;
}

.layui-side .layui-nav .layui-nav-item .layui-icon {
    position: absolute;
    left: 20px;
}

.layui-side .layui-nav .layui-nav-itemed>.layui-nav-child {
    padding: 2px 0;
}

.layui-card .search-header {
    padding-top:15px;
    padding-bottom:10px;
    height:auto;
}

.layui-card .search-header .layui-form-item {
    margin-bottom:0;
}

.choose-master-avatar .layui-input {
    padding-right: 125px;
}

.choose-master-avatar .layui-btn {
    position: absolute;
    right: 0;
    top: 0;
}

.choose-master-avatar .layui-btn .layui-icon {
    font-size: 14px;
}

.comment-manage .layui-table-tool-self {
    display: none;
}

.comment-manage .layui-table-cell {
    height: auto;
    white-space: normal;
    line-height: 140%;
}

.comment-manage .author-info {
    position: relative;
}

.comment-manage .author-avatar {
    width: 35px;
    float: left;
    margin-right: 3px;
    border-radius: 50%;
}

.comment-manage .author-info p {
    display: block;
    padding-left: 42px;
}

.comment-manage .author-info .author-name {
    font-weight: bold;
}

.comment-manage .author-url,
.comment-manage .author-email,
.comment-manage .article-link,
.comment-manage .post-time,
.comment-manage .author-ip {
    font-size: 88%;
    display: inline-block;
}

.comment-manage .post-time,
.comment-manage .author-ip {
    padding-left: 18px;
    position: relative;
}

.comment-manage .post-time i,
.comment-manage .author-ip i {
    color: #5FB878;
    position: absolute;
    top: -1px;
    left: 0;
}

.comment-manage .author-ip i {
    color: #01AAED;
}

.comment-manage .master-reply {
    margin-top: 5px;
    padding: 5px 10px;
    background: #EDEDED;
    border: 1px solid #ddd;
}

.comment-manage .master-reply p {
    margin: 10px 0;
}

.comment-manage .master-reply .master-meta {
    color: #333;
    font-weight: bold;
}

.comment-manage .action-btn {
    padding: 3px;
}

/* 适配多设备 */
@media screen and (max-width: 991px) {
    .layui-layout-admin .layui-header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 9998;
    }

    .site-tree-mobile {
        display: block!important;
        position: fixed;
        z-index: 9999;
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        border-radius: 2px;
        text-align: center;
        background-color: rgba(0,0,0,.7);
        color: #fff;
        font-size: 20px;
    }

    .site-mobile .site-tree {
        left: 0;
    }

    .site-mobile .site-mobile-shade {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,.8);
        z-index: 9999;
    }

    .layui-layout-admin .layui-side {
        position: fixed;
        top: 0;
        left: -260px;
        transition: all .3s;
        -webkit-transition: all .3s;
        z-index: 10000;
    }

    .layui-body {
        bottom: 0;
        left: 0;
    }

    .site-mobile .layui-side {
        left: 0;
    }

    .site-mobile .layui-side-child {
        top: 50%;
        left: 200px;
        height: 300px;
        margin-top: -100px;
    }

    .choose-master-avatar .layui-input {
        padding-right: 0;
    }

    .choose-master-avatar .layui-btn {
        position: static;
    }
}

@media screen and (max-width: 450px) {
    .layui-form-item .layui-form-label {
        width: auto;
        float: none;
        padding-left: 0;
        text-align: left;
    }

    .layui-form-item .layui-input-block,
    .layui-form-item .layui-input-inline+.layui-form-mid {
        margin-left: 0;
    }

    .layui-form-item .layui-input-inline {
        margin-left: 3px;
    }

    .layui-form-item .layui-inline {
        margin-bottom: 0;
    }

    .layui-card-body .layui-form {
        padding-bottom: 30px;
    }
}
